// @ts-ignore
import config from '@config';

const plugin: any = {
  /**
   * 安装插件
   * @param app
   */
  install(app: any) {
    if (plugin.installed) return;
    app.$config = config;
  },
};

export default plugin;
export const install = plugin.install;
